package com.alien.admin.utils;

public class PublishDeployConstant {

    /** 0:合并分支 1:服务部署 2:分支回滚 3.服务回滚 4.结束 */
    public static final Integer PUBLISH_DEPLOYSTAGE_BRANCH_MERGE = 0;
    public static final Integer PUBLISH_DEPLOYSTAGE_DEPLOY = 1;
    public static final Integer PUBLISH_DEPLOYSTAGE_BRANCH_ROLLBACK = 2;
    public static final Integer PUBLISH_DEPLOYSTAGE_SERVER_ROLLBACK = 3;
    public static final Integer PUBLISH_DEPLOYSTAGE_END = 4;

    /** 状态 0:进行中 1:回滚 2:成功 3.失败 */
    public static final Integer PUBLISH_DEPLOYSTATUS_RUNNING = 0;
    public static final Integer PUBLISH_DEPLOYSTATUS_ROLLBACK = 1;
    public static final Integer PUBLISH_DEPLOYSTATUS_SUCCESS = 2;
    public static final Integer PUBLISH_DEPLOYSTATUS_FAILED = 3;
}
